﻿<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:Avanade="urn:Avanade" xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'>
  <xsl:template match="/">
    <input type="hidden" name="selectedButton" value="" />
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
		<tr class="ms-WPHeader">
			<td  id="WebPartTitleWPQ17" style="width:100%;"><h3 class="ms-standardheader ms-WPTitle"><a accesskey="W" tabindex="0" href="/pages/echos.aspx"><nobr><span>Zoom sur</span><span id="WebPartCaptionWPQ17"></span></nobr></a></h3></td><td align="right" style="padding-right:2px"><div style="cursor: pointer" class="ms-HoverCellInActive" onmouseout="this.className='ms-HoverCellInActive'" onmouseover="this.className='ms-HoverCellActiveDark'"><nobr><a onclick="MSOWebPartPage_OpenMenu(MSOMenu_WebPartMenu, this, WebPartWPQ17,&#39;False&#39;);return false;" id="WebPartWPQ17_MenuLink" onkeydown="MSOMenu_KeyboardClick(WebPartWPQ17_MenuLink, 13, 40)" href="#"><img src="/_layouts/images/Menu1.gif" border="0" align="absmiddle" title="Zoom sur - Menu du composant WebPart" alt="Zoom sur - Menu du composant WebPart" style="padding-left:2px;" /></a></nobr></div></td>
		</tr>
	</table>
    <!-- Titre et chapeau (Sans date) -->
	<table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Webpart ANNONCE">
	  <tr>
		<td>
		  <xsl:for-each select="xml/rs:data/z:row">
			<table width="100%" cellspacing="0" cellpadding="0" style="border:3px solid #f21e8c;">
			  <tr>
				  <td style="padding:8px 8px 8px 8px">
				  <span style="text-transform:uppercase;color:#4f4f4f;font-weight:bold">
					<xsl:value-of select="current()/@ows_Surtitre" />
				  </span>
				  <br />
				  <a style="font-size:11px;font-weight:bold">
					<xsl:attribute name="href">
					  <xsl:value-of select="//BaseUrl" />
					  <xsl:value-of select="current()/@ows_ID" />
					</xsl:attribute>
					<span style="color:#f21e8c">
					  <xsl:value-of select="current()/@ows_Title" />
					</span>
				  </a>
				  <br/>
				  <br/>
				  <div style="clear:both;vertical-align:top">
					<xsl:if test="normalize-space(translate(current()/@ows_Photo, ',', '')) != ''">
					  <div style="float:left;padding-right:10px">
						<img style="border: solid 1px #fce4ee;">
						  <xsl:attribute name="src">
							<xsl:value-of select="Avanade:FormatLink(current()/@ows_Photo)" />
						  </xsl:attribute>
						</img>
					  </div>
					</xsl:if>
					  <div>
						<xsl:value-of select="Avanade:FormatBody(current()/@ows_Chapeau)" />
					  </div>
				  </div>
				</td>
			  </tr>
			  <tr>
				<td style="height:1px;background-color:#fce4ee;"></td>
			  </tr>
			</table>
		  </xsl:for-each>
		</td>
	  </tr>
	</table>
  </xsl:template>
</xsl:stylesheet>